package com.example.day01_weather;

/**
 *
 */
public class Img {
    public int Image(String weather){
        switch (weather){
            case "0":
                return R.drawable.qing;
            case "1":
                return R.drawable.yinzhuanqing;
            case "14":
                return R.drawable.xue;
        }
        return R.mipmap.ic_launcher;

    }
}
